package com.zoo.diannaopeijian.domain;

import javax.persistence.*;

public class Ware {
    @Id
    @Column(name = "ware_id")
    private Integer wareId;

    @Column(name = "ware_name")
    private String wareName;

    @Column(name = "ware_des")
    private String wareDes;

    @Column(name = "ware_bar_code")
    private String wareBarCode;

    public Ware() {
        super();
    }

    public Ware(Integer wareId, String wareName, String wareDes, String wareBarCode) {
        super();

        this.wareId = wareId;
        this.wareName = wareName;
        this.wareDes = wareDes;
        this.wareBarCode = wareBarCode;
    }

    /**
     * @return ware_id
     */
    public Integer getWareId() {
        return wareId;
    }

    /**
     * @param wareId
     */
    public void setWareId(Integer wareId) {
        this.wareId = wareId;
    }

    /**
     * @return ware_name
     */
    public String getWareName() {
        return wareName;
    }

    /**
     * @param wareName
     */
    public void setWareName(String wareName) {
        this.wareName = wareName;
    }

    /**
     * @return ware_des
     */
    public String getWareDes() {
        return wareDes;
    }

    /**
     * @param wareDes
     */
    public void setWareDes(String wareDes) {
        this.wareDes = wareDes;
    }

    /**
     * @return ware_bar_code
     */
    public String getWareBarCode() {
        return wareBarCode;
    }

    /**
     * @param wareBarCode
     */
    public void setWareBarCode(String wareBarCode) {
        this.wareBarCode = wareBarCode;
    }
}